#pragma once
#ifndef __MAIN_MENU_STATE_H__
#define __MAIN_MENU_STATE_H__

#include <d3d9.h>
#include "DirectInput.h"
#include "GUIImage.h"
#include "IState.h"
#include "Button.h"
#include "StateManagement.h"
#include "ResourceManager.h"
#include "D3DApp.h"
#include "Sprite.h"
#include "Option.h"
#include "HowToPlay.h"
// define button id
enum { NEW_GAME, HOW_TO_PLAY,  OPTIONS, EXIT };

class CMainMenuState: public IState
{
public:
	CMainMenuState(void);
	virtual ~CMainMenuState(void);

	void Init();
	void Update(float dt);
	void Render();	
	void Release();
private:
	IDirect3DTexture9* m_pBkgdTex;
	vector<Button*> m_Buttons;
	CSprite* m_sprBackground;

	int m_iCurOption;
};

#endif